package cc.lj.internal.coupons.interfaces.dto.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ApiModel("倍数模型表修改参数")
public class MultipleModelUpdateCommand {
    @ApiModelProperty(value = "主键")
    @DecimalMin("1")
    @NotNull
    private Integer id;

    @ApiModelProperty(value = "封顶额活动表主键")
    @DecimalMin("1")
    @NotNull
    private Integer capId;

    @ApiModelProperty(value = "倍数")
    @NotNull
    private BigDecimal multipleNum;

    @ApiModelProperty(value = "天数")
    @DecimalMin("1")
    @NotNull
    private Integer dayNum;

}
